net/http.transportRequest.ctx (field)
10 uses
net/http (current package)
transport.go#L467: ctx context.Context // canceled when we are done with the request
transport.go#L622: treq := &transportRequest{Request: req, trace: trace, ctx: ctx, cancel: cancel}
transport.go#L1488: case <-treq.ctx.Done():
transport.go#L1489: err := context.Cause(treq.ctx)
transport.go#L1499: case <-treq.ctx.Done():
transport.go#L1500: err := context.Cause(treq.ctx)
transport.go#L2335: case <-rc.treq.ctx.Done():
transport.go#L2337: pc.cancelRequest(context.Cause(rc.treq.ctx))
transport.go#L2751: ctxDoneChan := req.ctx.Done()
transport.go#L2802: pc.cancelRequest(context.Cause(req.ctx))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |